package cn.haitaoss.testremotedebugger.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.ResponseBody;

/**i
 * @author haitao.chen
 * @email
 * @date 2021-03-25 09:54
 *
 */
@Controller
public class TestController {
    @GetMapping("/hello/{name}")
    @ResponseBody
    public Object hello(@PathVariable("name") String name) {
        System.out.println("test bug");
        return "hello " + name;
    }
}
